#ifndef RANDOMNUMBERS_CPP_NC4XNU07
#define RANDOMNUMBERS_CPP_NC4XNU07

#include "RandomNumbers.h"

#endif /* end of include guard: RANDOMNUMBERS_CPP_NC4XNU07 */


RandomNumbers::RandomNumbers(unsigned int seed) {
  newSeed(seed);
}

int RandomNumbers::getRandom(int low, int high, int offset) {
  return (rand() % (high - low) + offset);
}

void RandomNumbers::newSeed(unsigned int seed) {
  srand(seed);
}

